package com.itheima.boottlias.service;

import com.itheima.boottlias.domain.pojo.Clazz;
import com.itheima.boottlias.domain.query.QueryParam;
import com.itheima.boottlias.domain.vo.PageResult;

import java.util.List;

/**
 * @author ghy
 * @version 1.0
 * @since 2025-07-14 12:19
 */
public interface ClazzService {
    PageResult<Clazz> pageQuery(QueryParam queryParam);

    List<Clazz> list();

    void deleteById(Integer id);

    void add(Clazz clazz);

    Clazz findById(Integer id);

    void updateById(Clazz clazz);
}
